import foo from './foo.js'
import { h } from '../../lib2/min-vue.esm.js'
export default {
  name: 'App',
  setup() {
    function add(a, b) {
      console.log('Appadd', a, b)
    }
    return {
      add
    }
  },
  render() {
    return h('div', {}, [
      h('div', {}, '测试emit'),
      h(foo, { onFooAdd: this.add })
    ])
  }
}
